package net.suncapper.wcss.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.suncapper.wcss.model.domain.UserManage;
import net.suncapper.wcss.model.vo.WhitelistSettingVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ztr
 * @since 2025-11-06
 */
public interface UserManageMapper extends BaseMapper<UserManage> {

    List<WhitelistSettingVO> getByKey(@Param("key") String key);

    Integer insertByKey(@Param("user") WhitelistSettingVO user);
}
